package com.cn.serverline.lineicp.productionLine.param;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 工序分页查询参数
 *
 * @author Gmr
 * @since 2024/7/30
 */
@Data
public class ProductionProcessesPageParam {

	@ApiModelProperty(value = "分页页码")
	private Integer pageNo;

	@ApiModelProperty(value = "分页大小")
	private Integer pageSize;

	@ApiModelProperty(value = "产品结构ID", required = true)
	@JsonSerialize(using= ToStringSerializer.class)
	@NotNull(message = "产品结构ID不能为空")
	private Long productMixId;
}
